<template>
	<view class="hun" style="background-color: #EEEEEE;position: relative;height: 100%;">
		<view class="inv-h-w">
			<view :class="['inv-h',Inv==0?'inv-h-se':'']" @click="unsubmit">基本信息</view>
			<view :class="['inv-h',Inv==1?'inv-h-se':'']" @click="submit">入库</view>
		</view>

		<view class="" style="position: absolute;width: 100%;margin-top: 100upx">
			<view class="formPage" v-show="Inv==0">
				<form>
					<fromItem title="取样编号" :data="totalData.fSamplenostr" flex="right" nameColor="#989898"
						projectName="#343434">
					</fromItem>
					<fromItem title="样品名称" :data="totalData.fSamplename" flex="right" nameColor="#989898"
						projectName="#343434">
					</fromItem>
					<fromItem title="工程部位/用途" :data="totalData.fProjectlocation" flex="right" nameColor="#989898"
						projectName="#343434">
					</fromItem>
					<fromItem title="制件日期" :data="totalData.fMakedates" flex="right" nameColor="#989898"
						projectName="#343434">
					</fromItem>
					<fromItem title="强度等级" :data="totalData.fStrengthgrade" flex="right" nameColor="#989898"
						projectName="#343434">
					</fromItem>
					<fromItem title="龄期(天)" :data="totalData.fSpecimenage" flex="right" nameColor="#989898"
						projectName="#343434">
					</fromItem>
					<fromItem title="规定试验日期" :data="totalData.fPlantestdates" flex="right" nameColor="#989898"
						projectName="#343434">
					</fromItem>
					<fromItem title="数量(组)" :data="totalData.fNum" flex="right" nameColor="#989898"
						projectName="#343434">
					</fromItem>






				
				</form>



			</view>

			<view class="formPage" v-show="Inv==1">
				<form>

					<view style="width: 100%;">
 <fromItem title="存放位置" :data="formData.fPosition" flex="right" nameColor="#989898"
 	projectName="#343434">
 </fromItem>
					<!-- 	<view class="cu-form-group">
							<image src="@/static/Scope.png" mode=""
								style="width: 30upx;height: 30upx;vertical-align: middle;">
							</image>
							<view class="title">存放位置</view>
							<picker :disabled="true" mode="multiSelector" @columnchange="bindMultiPickerColumnChange" :value="multiIndex"
								:range="positionData" :range-key="'fCuringno'">
								<view class="uni-input picker" :style="{color:fWorktypeindex>-1?'#555':'#a0a0a0'}">
									{{ fWorktypeindex > -1 ? formData.fPosition : '请选择' }}
								</view>
							</picker>
						</view> -->
						<fromItem title="入库日期" :data="formData.fWarehousingdates" flex="right" nameColor="#989898"
							projectName="#343434">
						</fromItem>
						<!-- <cLabel title='入库日期' over="calc(5em + 15px)" :dataText='formData.fWarehousingdates' must="must"
							:disabled="disabled" v-model='formData.fWarehousingdates' mode='date1' :flagNum="flagNum" /> -->
						<fromItem title="入库人员" :data="formData.fWarehousingusername" flex="right" nameColor="#989898"
							projectName="#343434">
						</fromItem>
<!-- 						<cLabel title='入库人员' v-model='formData.fWarehousingusername' :disabled="true"
							:dataText='formData.fWarehousingusername' rightIcon='' mode='text' /> -->
						<view class="sampaleInfo" :style="{'background':item.status==0?'rgba(234,234,36,0.5)':item.status==1?'rgba(77,237,8,0.5)':'#fff'}" v-for="item in formData.itemsList" :key="item.fId">
							<view>{{item.fSampleitems}}</view>
							<view>{{item.fWarehousingitems==""?'待入库':'待出库'}}</view>
						</view>




					</view>

					<view class="cu-form-group" style="margin-bottom: 100upx;">
					</view>
			
				</form>
			</view>

			
		</view>
	</view>
</template>
<script src="./index.js">
</script>
<style scoped lang="less">
	@import './index.less';
</style>
